package com.brian.dubbo.demo.service.impl;

import com.brian.dubbo.demo.dto.Foo;
import com.brian.dubbo.demo.service.DemoService;

/**
 * DemoService实现
 *
 * Created by eagle on 15/9/30.
 */
public class DemoServiceImpl implements DemoService {

    /**
     * 测试方法 - 实现
     * @param name
     * @return
     */
    public String sayHello(String name) {
        return "Hello hello " + name;
    }

    public Foo getFoo(String name) {
        return new Foo(name, name + "@163.com");
    }
}
